<template>
  <div>
    {{msg}}
  </div>
</template>

<script>
export default {
  name: 'HelloWorld',
  props: {
    msg: String
  },
  data() {
    return {
      str: 'wwwwww'
    }
  },
  created() {
    // this.create()
  },
  mounted() {
    // this.mounte()
  },
  methods: {
    create() {
      console.log('created: 我刷新了');
      // this.$nextTick(()=> {
      //   console.log('nextTick:我刷新了');
      // })
    },
    mounte() {
      console.log('mounte: 我刷新了');
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>
